package pers.lls.im.controller;

import io.swagger.annotations.Api;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import pers.lls.im.service.TestService;

import javax.annotation.Resource;

@Api(tags = "测试")
@RestController
public class TestController {

    @Resource
    TestService testService;

    @PostMapping("/test")
    public ResponseEntity<Object> test(){
        return ResponseEntity.ok(testService.list());
    }
}
